<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      .primary {
        color: red;
      }
    </style>
  </head>
  <body>
    <div id="app">
      <h2>hello v-if</h2>
      <p v-if="flag">hello tag p</p>
      <p v-if="a||b||c">hello tag other p</p>
    </div>
    <script type="module">
      import { createApp } from "./vue.esm-browser.js";
      const app = createApp({
        data() {
          return {
            a: true,
            b: true,
            c: true,
            flag: true,
          };
        },
      });
      app.mount("#app"); //挂载
    </script>
  </body>
</html>
